package com.weishu.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weishu.common.core.annotation.Excel;
import com.weishu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 收房贷申请明细对象 t_jr_sf_loan_detail
 * 
 * @author weishu
 * @date 2021-10-19
 */
public class TJrSfLoanDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 收房贷申请ID */
    @Excel(name = "收房贷申请ID")
    private Long sfLoanId;

    /** 商户ID */
    @Excel(name = "商户ID")
    private Long businessId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private String deptNo;

    /** 房产编号 */
    @Excel(name = "房产编号")
    private String houseId;

    /** 房产信息(考虑在房产表中增加house_name，然后带出) */
    @Excel(name = "房产信息(考虑在房产表中增加house_name，然后带出)")
    private String houseName;

    /** 房产编号 */
    @Excel(name = "房产编号")
    private String houseNo;

    /** 账期还款金额 */
    @Excel(name = "账期还款金额")
    private BigDecimal repaymentAmount;

    /** 本金 */
    @Excel(name = "本金")
    private BigDecimal capital;

    /** 账期利息 */
    @Excel(name = "账期利息")
    private Long rateAmount;

    /** 第几期 */
    @Excel(name = "第几期")
    private Long payNumber;

    /** 借款账期开始日‘yyyymmdd’ */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "借款账期开始日‘yyyymmdd’", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loStartTime;

    /** 借款账期截止日'yyyymmdd' */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "借款账期截止日'yyyymmdd'", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loEndTime;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private BigDecimal reserve1;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private Long reserve2;

    /** 预留字段3 */
    @Excel(name = "预留字段3")
    private String reserve3;

    /** 预留字段4 */
    @Excel(name = "预留字段4")
    private String reserve4;

    /** 预留字段5 */
    @Excel(name = "预留字段5")
    private String reserve5;

    /** 删除标识 0:未删除，1:删除 */
    @Excel(name = "删除标识 0:未删除，1:删除")
    private Integer delFlg;

    /** 创建用户ID */
    @Excel(name = "创建用户ID")
    private Long createUserid;

    /** 更新用户ID */
    @Excel(name = "更新用户ID")
    private Long updateUserid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSfLoanId(Long sfLoanId) 
    {
        this.sfLoanId = sfLoanId;
    }

    public Long getSfLoanId() 
    {
        return sfLoanId;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptNo(String deptNo) 
    {
        this.deptNo = deptNo;
    }

    public String getDeptNo() 
    {
        return deptNo;
    }
    public void setHouseId(String houseId) 
    {
        this.houseId = houseId;
    }

    public String getHouseId() 
    {
        return houseId;
    }
    public void setHouseName(String houseName) 
    {
        this.houseName = houseName;
    }

    public String getHouseName() 
    {
        return houseName;
    }
    public void setHouseNo(String houseNo) 
    {
        this.houseNo = houseNo;
    }

    public String getHouseNo() 
    {
        return houseNo;
    }
    public void setRepaymentAmount(BigDecimal repaymentAmount) 
    {
        this.repaymentAmount = repaymentAmount;
    }

    public BigDecimal getRepaymentAmount() 
    {
        return repaymentAmount;
    }
    public void setCapital(BigDecimal capital) 
    {
        this.capital = capital;
    }

    public BigDecimal getCapital() 
    {
        return capital;
    }
    public void setRateAmount(Long rateAmount) 
    {
        this.rateAmount = rateAmount;
    }

    public Long getRateAmount() 
    {
        return rateAmount;
    }
    public void setPayNumber(Long payNumber) 
    {
        this.payNumber = payNumber;
    }

    public Long getPayNumber() 
    {
        return payNumber;
    }
    public void setLoStartTime(Date loStartTime) 
    {
        this.loStartTime = loStartTime;
    }

    public Date getLoStartTime() 
    {
        return loStartTime;
    }
    public void setLoEndTime(Date loEndTime) 
    {
        this.loEndTime = loEndTime;
    }

    public Date getLoEndTime() 
    {
        return loEndTime;
    }
    public void setReserve1(BigDecimal reserve1) 
    {
        this.reserve1 = reserve1;
    }

    public BigDecimal getReserve1() 
    {
        return reserve1;
    }
    public void setReserve2(Long reserve2) 
    {
        this.reserve2 = reserve2;
    }

    public Long getReserve2() 
    {
        return reserve2;
    }
    public void setReserve3(String reserve3) 
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3() 
    {
        return reserve3;
    }
    public void setReserve4(String reserve4) 
    {
        this.reserve4 = reserve4;
    }

    public String getReserve4() 
    {
        return reserve4;
    }
    public void setReserve5(String reserve5) 
    {
        this.reserve5 = reserve5;
    }

    public String getReserve5() 
    {
        return reserve5;
    }
    public void setDelFlg(Integer delFlg) 
    {
        this.delFlg = delFlg;
    }

    public Integer getDelFlg() 
    {
        return delFlg;
    }
    public void setCreateUserid(Long createUserid) 
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid() 
    {
        return createUserid;
    }
    public void setUpdateUserid(Long updateUserid) 
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid() 
    {
        return updateUserid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sfLoanId", getSfLoanId())
            .append("businessId", getBusinessId())
            .append("deptId", getDeptId())
            .append("deptNo", getDeptNo())
            .append("houseId", getHouseId())
            .append("houseName", getHouseName())
            .append("houseNo", getHouseNo())
            .append("repaymentAmount", getRepaymentAmount())
            .append("capital", getCapital())
            .append("rateAmount", getRateAmount())
            .append("payNumber", getPayNumber())
            .append("loStartTime", getLoStartTime())
            .append("loEndTime", getLoEndTime())
            .append("reserve1", getReserve1())
            .append("reserve2", getReserve2())
            .append("reserve3", getReserve3())
            .append("reserve4", getReserve4())
            .append("reserve5", getReserve5())
            .append("delFlg", getDelFlg())
            .append("createUserid", getCreateUserid())
            .append("createTime", getCreateTime())
            .append("updateUserid", getUpdateUserid())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
